﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MensajeError.ascx.cs" Inherits="Crosland.Automotriz.Web.UserControl.MensajeError" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxTabControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxClasses" TagPrefix="dx" %>
<style type="text/css">
    .style1
    {
        width: 100%;
    }
    .filas
    {
        padding: 0.5em 0.75em;
    }
    .fila_izq
    {
        width: 35%;
    }
    .fila_der
    {
        width: 60%;
    }
</style>

<asp:UpdatePanel runat="server">
<ContentTemplate>


<dx:ASPxPopupControl ID="pcMensaje" runat="server" Width="500px" Height="225px" ClientInstanceName="pcMensaje" Modal="True" PopupVerticalAlign="WindowCenter" PopupHorizontalAlign="WindowCenter" 
    HeaderText="Mensaje" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue" EnableHotTrack="False" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
    </LoadingPanelImage>
    <HeaderStyle>
    <Paddings PaddingLeft="7px" />
    </HeaderStyle>
    <LoadingPanelStyle ImageSpacing="5px">
    </LoadingPanelStyle>
    <ContentCollection>
        <dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server" SupportsDisabledAttribute="True">
            <dx:ASPxPageControl ID="ASPxPageControl1" runat="server" ActiveTabIndex="0" 
                Width="100%" Height="175px" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                TabSpacing="0px">
                <TabPages>
                    <dx:TabPage Text="Mensaje">
                        <ContentCollection>
                            <dx:ContentControl ID="ContentControl1" runat="server" SupportsDisabledAttribute="True">
                                <dx:ASPxLabel ID="lblMensajeCliente" runat="server" Width="100%" Height="100%" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue">
                                </dx:ASPxLabel>
                            </dx:ContentControl>
                        </ContentCollection>
                    </dx:TabPage>
                    <dx:TabPage Text="Detalles Técnicos">
                        <ContentCollection>
                            <dx:ContentControl ID="ContentControl2" runat="server" SupportsDisabledAttribute="True">
                                <table class="style1">
                                    <tr>
                                        <td class="filas fila_izq">
                                            Mensaje de Error
                                        </td>
                                        <td class="filas fila_der">
                                            <asp:Label ID="lblMsgReal" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="filas fila_izq">
                                            Fecha y Hora del Error
                                        </td>
                                        <td class="filas fila_der">
                                            <asp:Label ID="lblFHError" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="filas fila_izq">
                                            P&aacute;gina
                                        </td>
                                        <td class="filas fila_der">
                                            <asp:Label ID="lblPag" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="filas fila_izq">
                                            M&eacute;todo
                                        </td>
                                        <td class="filas fila_der">
                                            <asp:Label ID="lblMetodo" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="filas fila_izq">
                                            C&oacute;digo de Usuario
                                        </td>
                                        <td class="filas fila_der">
                                            <asp:Label ID="lblCodUsu" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="filas fila_izq">
                                            Linea </td>
                                        <td class="filas fila_der">
                                            <asp:Label ID="lblLineaNumber" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </dx:ContentControl>
                        </ContentCollection>
                    </dx:TabPage>
                </TabPages>
                <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                </LoadingPanelImage>
                <LoadingPanelStyle ImageSpacing="5px">
                </LoadingPanelStyle>
                <Paddings Padding="2px" PaddingLeft="5px" PaddingRight="5px" />
                <ContentStyle>
                    <Paddings Padding="12px" />
                    <Border BorderColor="#859EBF" BorderStyle="Solid" BorderWidth="1px" />
                </ContentStyle>
            </dx:ASPxPageControl>
            <table width="100%">
                <tr>
                    <td align="center" class="filas">
                        <dx:ASPxButton ID="btnAceptar" runat="server" Text="Aceptar" Width="100px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue" 
                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                            <ClientSideEvents Click="function(s, e){pcMensaje.Hide();}" />
                        </dx:ASPxButton>
                    </td>
                </tr>
            </table>
        </dx:PopupControlContentControl>
    </ContentCollection>
</dx:ASPxPopupControl>
</ContentTemplate>
</asp:UpdatePanel>